<style>
<!--
-->
#affichage_streams {
	line-height: 18px;
	margin: 20px 0 70px 0;
}

.streams {
	display: inline-block;
	float: left;
	margin-right: 1px;
	cursor: pointer;
}

.streams a {
	background: none !important;
}

#live_stream {
	position: relative;
	margin: 82px 0 0 0;
}
</style>
<div class="row" id="chaines">
	<div class="span12">
		<div>
			<h2>Chaines</h2>
			<div id="affichage_streams">

			<?php
			$streams = mysql_query('SELECT * FROM es_stream');          // 3
			?>
				<ul id="liste_streams">
					
					
				<?php  while ($donnees = mysql_fetch_assoc($streams))
				{
				   ?>

					<li class="streams <?php echo $donnees['type']; ?> " 
					onclick="play('<?php echo $donnees['idstream']; ?>')"  
					style="display: block; padding: 0.2em; width: 150px; height: 100px; border: solid; margin: 0.5em;" id="<?php echo $donnees['idstream']; ?>">
      					<i style="display: inline-block; width: 18px; height: 16px; background: url(img/favicon-<?php echo $donnees['type']; ?>.ico) no-repeat center center;">
      					</i><p>
      					<?php echo $donnees['title']; ?></p>
					</li>
					
			<?php } ?>
            </ul>
			</div>
		</div>
	</div>
</div>
